<style>
	.uploadpic{
		float:left;
		width: 295px;
		text-align:center;
		height:165px;
	}
	.uploadpic h3{
		text-align:left;
		border:1px solid  #95B8E7;
		float:left;
		padding:4px;
		background-color:#95B8E7;
		color:#FFF;
	}
	.up-content{
		border:1px solid  #95B8E7;
		padding:4px;
	}
	.w10{
		float:left;
		width:10px;
		color:#FFF;
	}
</style>
<div id="add" class="easyui-dialog" style="width: 644px; height: 148px; padding: 0px; overflow: hidden;" title="&nbsp;&nbsp;添加关系码" data-options="iconCls:'icon-standard-folder-page',buttons:'#dlg-add',closed:true,resizable:false,modal:false,closable:true">
	<form id="add_form" action="__APP__/Home/Quality/add_quality" enctype="multipart/form-data" method="post" >
		<table width="100%" cellspacing="0" class="table_form">
	<tr>
		<th width="80">基本信息</th>
		<td style="height: 40px" colspan="3">
			<div>
				<label>关系码：
					<input id="coder" name="coder" class="easyui-validatebox" style="width: 200px"data-options="required:true" />
				</label>
				&nbsp;&nbsp;&nbsp;&nbsp;
				<label for="creattime">供应商：
					<input id="gys" name="gys" class="easyui-validatebox" style="width: 200px" data-options="required:true"/>
				</label>
			</div>

			<div style="padding:10px 0 0 0 ">

				<label for="laiyuan">名&nbsp;&nbsp;&nbsp;&nbsp;称：
					<input id="mc" name="mc" class="easyui-validatebox" style="width: 200px" data-options="required:true"/>
				</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<label for="zrdw">图&nbsp;&nbsp;&nbsp;&nbsp;号：
					<input id="th" name="th" class="easyui-validatebox" style="width: 200px" data-options="required:true"/>
				</label>
			</div>
		</td>
	</tr>
	
</table>
	<input type="hidden" name="userid" id="userid" value= {$_SESSION['uid']}>
	</form>
</div>

<div id="dlg-add">
	<div class="tool_tip">添加关系码后会在列表中出现！！</div>
	<a href="#" id="addok" class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
		onclick="add()">确认</a>
	<a href="#" class="easyui-linkbutton"
		data-options="iconCls:'icon-cancel'"
		onclick="javascript:$('#add').dialog('close')">取消</a>
</div>
